<div class="span12 well">
    <?php echo form_open('main/login') ?>
    <input type="text" class="input-small" placeholder="Username" name="username">
    <input type="password" class="input-small" placeholder="Password" name="password">
    <label class="checkbox">
        <input type="checkbox"> Remember me
    </label>
    <button type="submit" class="btn btn-primary">Sign in</button>
    <?php echo form_close() ?>
</div>